package com.yunxin.core.customer.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 客户匹配产品下拉表
 * @TableName matching_product
 */
@TableName(value ="matching_product")
@Data
public class MatchingProduct implements Serializable {
    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 团队id
     */
    @Schema(description = "团队id")
    private Integer teamId;

    @Schema(description = "团队id集合")
    @TableField(exist = false)
    private List<Integer> teamIds;

    /**
     * 匹配产品名称
     */
    @Schema(description = "匹配产品名称")
    private String name;

    /**
     * 删除状态 0.正常 1删除
     */
    @Schema(hidden = true )
    @TableLogic(value = "0" ,delval = "1")
    private Integer isDel;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 
     */
    private Date editTime;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 修改人
     */
    private String editor;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}